package com.xiaobai.controlle;

import org.springframework.security.core.Authentication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangdaji
 * @version 1.0
 * @Description:
 * @date 22-2-21 上午 3:50
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/getUser")
    public Object getUser(Authentication authentication) {
        return authentication;
    }
}
